/* 提高 Antd Message 的 z-index，让提示框为最上层 */
.ant-message {
    z-index: 1100 !important;
}

/* 响应式 OffCanvas 宽度 */
.offcanvas.offcanvas-start {
    width: 50%;
}

@media (max-width: 991.98px) {
    .offcanvas.offcanvas-start {
        width: 75%;
    }
}

@media (max-width: 767.98px) {
    .offcanvas.offcanvas-start {
        width: 100%;
    }
}

/* 添加自定义样式 */
.database-info-card {
    border-left: 4px solid #0d6efd;
    margin-top: 20px;
}

.table-info-section {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.column-list {
    max-height: 500px;
    overflow-y: auto;
}

.column-item {
    border-left: 3px solid #6c757d;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.column-item:hover {
    border-left-color: #0d6efd;
    background-color: #f8f9fa;
}

.badge-java {
    background-color: #5382a1;
}

.badge-jdbc {
    background-color: #4479a1;
}

.badge-js {
    background-color: #f7df1e;
    color: #000;
}